//class Circ

    export  class Circ
    {
       

        public static easeIn(arg1: number, arg2: number, arg3: number, arg4: number): number
        {
            var loc1;
            arg1 = loc1 = arg1 / arg4;
            return (-arg3) * (Math.sqrt(1 - loc1 * arg1) - 1) + arg2;
        }

        public static easeOut(arg1: number, arg2: number, arg3: number, arg4: number): number
        {
            var loc1;
            arg1 = loc1 = (arg1 / arg4 - 1);
            return arg3 * Math.sqrt(1 - loc1 * arg1) + arg2;
        }

        public static easeInOut(arg1: number, arg2: number, arg3: number, arg4: number): number
        {
            var loc1;
            arg1 = loc1 = arg1 / (arg4 * 0.5);
            if (loc1 < 1) 
            {
                return (-arg3) * 0.5 * (Math.sqrt(1 - arg1 * arg1) - 1) + arg2;
            }
            arg1 = loc1 = arg1 - 2;
            return arg3 * 0.5 * (Math.sqrt(1 - loc1 * arg1) + 1) + arg2;
        }
    }
